
require("Scripts/Common/Class")
require("Scripts/UISystem/DisplayObject")
require("Scripts/UISystem/TextureManager")

Image = Class(DisplayObject)

function Image:Ctor()
	-- 创建image显示对象
	self._show = SailUIImage()
end

function Image:SetTexture(filepath, name)
	-- 设置纹理
	g_TextureManager:SetTexture(filepath, name, self._show)
end
